package com.example.coffeejava.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("Info")
public class Info {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String icon;
    private String origin;
    private String intro;
    private Integer typeId;
    private Integer buyNum;
    private Integer watchNum;
    private Integer price;

    private String status;
    @TableField(exist = false)
    private String typeName;

}
